#include "HourlyPay.h"
HourlyPay::HourlyPay(const char *n, struct Emp_n t_n, struct Emp_d t_d, float s, int d)
{
	setInformation(n,t_n,t_d,s,d);
}
HourlyPay::HourlyPay()
{

}
void HourlyPay::setHour(int n_s, int e_s, int h)
{
	n_salary=n_s;
	e_salary=e_s;
	hour=h;
}
void HourlyPay::getHour() const
{
	std::cout<<"Normal salary:"<<n_salary<<std::endl;
	std::cout<<"Extended salary:"<<e_salary<<std::endl;
	std::cout<<"Working hours:"<<hour<<std::endl;
}